<?php
$this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
$this->headTitle()->setSeparator(' - ');
$this->headTitle('Timeville');

echo $this->doctype();
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <?= $this->headMeta() ?>
    <?= $this->headTitle() ?>
    <?= $this->headLink()->prependStylesheet($this->baseUrl() . '/css/style.css') ?>
    <?= $this->headLink()->prependStylesheet($this->baseUrl() . '/css/ui.timepicker.css') ?>
    
    <?= $this->headLink()->prependStylesheet($this->baseUrl() . '/js/jquery-ui-1.7.2/css/smoothness/jquery-ui-1.7.2.custom.css') ?>
    <?= $this->headScript()->appendFile($this->baseUrl() . '/js/jquery-ui-1.7.2/js/jquery-1.3.2.min.js') ?>
    <?= $this->headScript()->appendFile($this->baseUrl() . '/js/jquery-ui-1.7.2/js/jquery-ui-1.7.2.custom.min.js') ?>
    
    <?= $this->headScript()->appendFile($this->baseUrl() . '/js/ui.timepicker.js') ?>
</head>
<body>
<div id="container">
    <div id="header">
        <div id="userbar"><?= $this->profileLink() ?></div>
        <a id="logo" href="<?= $this->baseUrl() . '/' ?>" title="Начална страница"></a>
        <ul id="menu">
            <li><a href="<?= $this->url(array('controller'=>'tasks', 'action'=>'index'), null, true) ?>">Задачи</a></li>
            <li><a href="<?= $this->url(array('controller'=>'users', 'action'=>'index'), null, true) ?>">Потребители</a></li>
            <li><a href="<?= $this->url(array('controller'=>'tickets', 'action'=>'index'), null, true) ?>">Работни карти</a></li>
        </ul>
    </div>

    <div id="contents">
        <h1><?= $this->escape($this->title) ?></h1>
        <?= $this->layout()->content ?>
    </div>

    <div id="footer">
        Никола Косев &amp; Росен Симов - Маг. Програма: Софтуерни технологии, СУ „Св. Климент Охридски”, ФМИ
    </div>
</div>
</body>
</html>